Skip to content

Conversation

@omor1
Copy link
Contributor

@omor1 omor1 commented Mar 4, 2017

This pull resolves #2652 by adding the missing definition of MPI_T_PVAR_SESSION_NULL. It also corrects an issue with MPI_T_pvar_session_free() so as to match the man page description.

The only user-visible difference of the pull is that MPI_T_pvar_session_free() will now correctly fail with a return value of MPI_T_ERR_INVALID_SESSION when the session parameter is not valid (that is, when MPI_T_PVAR_SESSION_NULL == session.

@omor1
Copy link
Contributor Author

omor1 commented Mar 5, 2017

I'm new to contributing to Open MPI—how do I correctly do the sign-off? Does it need to be in the first comment?

@rhc54
Copy link
Contributor

rhc54 commented Mar 5, 2017

Each commit must have the sign-off in the commit message. What you should probably do here is just "squash" these two commits, and then add the sign-off to the new combined commit message.

In the future, you can do it most easily by just adding "-s" to the "git commit" command and it will add the sign-off for you.

MPI_T_pvar_session_free() should reject null sessions and set *session to MPI_T_PVAR_SESSION_NULL

Signed-off-by: Omri Mor <[email protected]>
@omor1
Copy link
Contributor Author

omor1 commented Mar 5, 2017

Alright, thanks! I had tried to cheap out by using the GitHub editing interface instead of actually cloning the repository, but that was clearly a mistake. It turns out that using the command-line interface is still superior.

@omor1 omor1 changed the title Resolve #2652 Add missing definition of MPI_T_PVAR_SESSION_NULL (resolve #2652) Mar 6, 2017
@hjelmn
Copy link
Member

hjelmn commented Mar 9, 2017

Looks good. This will need to be PRd to v2.0.x, v1.10.x, and v2.x.

@omor1
Copy link
Contributor Author

omor1 commented Mar 10, 2017

@hjelmn PRd to v2.0.x, v1.10.x, and v2.x in #3140, #3138, and #3139, respectively.

@jsquyres jsquyres merged commit 086748b into open-mpi:master Mar 13, 2017
@jsquyres
Copy link
Member

Thank you Omri Mor (@omor1) -- especially for PR'ing it to all of our release branches!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add missing MPI_T_PVAR_SESSION_NULL

4 participants